﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.DBUtility;
using Microhard.WarehouseInsp.Buz.Models;
using Microhard.WarehouseInsp.Buz.BuzEnum;
using Microhard.WarehouseInsp.Buz.DataAccess;

namespace Microhard.WarehouseInsp.Buz.Interfaces
{
    public interface IOutIntPutWarehouse : IRepository<OutIntPutWarehouseModel>
    {
        List<OutIntPutWarehouseModel> GetOutRecordByProject(Guid ProjectID);
        List<OutIntPutWarehouseModel> GetOutRecordByApplyID(Guid OutPutApplyID);
        List<OutIntPutWarehouseModel> GetInRecordByProject(Guid ProjectID);
        bool IsOutCount(Guid plgID, double outNewAmount);
        OutIntPutWarehouseModel GetByOutInPutWarehouseID(Guid OutInPutWarehouseID);
        bool HasAddPlg(Guid plgID, Guid applyID);
    }
}
